Rendering transparent nodes

Because visualization of transparent nodes relies on having proper data behind them, in order to solve the blending equations properly, you have to render the transparent nodes from back to front.

When not rendered in a correct way, the transparent nodes can waste a lot of resources. If a transparent node is drawn before the underlying opaque node, the transparent node has to be drawn again after the opaque node. This means that because of the overdraw, those pixels are drawn three times. This is always the case when the nodes are presented in a front-to-back order.

For these reasons always render all transparent nodes after rendering the rest of the scene.

You can define the rendering order of nodes using one or more Composer, Render Pass, and Filter. See Composers and Filters.

Rendering transparent 3D nodes in the correct order

To render transparent 3D nodes in the correct order, select the nodes in the Project and in the Properties next to the Tags property click the Tags button and select Transparent.
Kanzi Studio DefaultComposer first renders the nodes that do not have the Transparent tag and then the nodes that do have the Transparent tag.

Controlling how Kanzi renders a Viewport 2D

You can control how Kanzi renders a Viewport 2D node with the Foreground Hint property:

See also

Rendering best practices

Optimizing the rendering of layouts

Setting nodes for efficient rendering

Preventing overdraw with the Sorting Filter

Using Tag Filter filters

Rendering static content

Measuring the performance of your application

Best practices